import os
datasets = ["computers", "cameras", "shoes", "watches"]
F1 = []
with open('temp/output.txt', 'w') as f:
    pass
for percent in [5,10,15, 20,25, 30,35,40,45,50,55,60,65,70,75,80,85,90,95,100]:
    cmd = """ python train_ditto.py \
  --task %s \
  --batch_size %d \
  --max_len %d\
  --lr 3e-5 \
  --n_epochs %d \
  --lm %s \
  --fp16 \
  --percent %d""" % ("wdc_shoes_small", 32, 64, 20, "distilbert", percent)
    print(cmd)
    os.system(cmd)

